import request from '@/utils/request'

// 查询本日本周本月新增数据
export function queryAppDashBoardRecordNum(params) {
  return request({
    url: '/mgrService/mgrStatisticalData/queryAppDashBoardRecordNum',
    method: 'post',
    data: params
  })
}

// 查询排名数据
export function queryAppDashBoardRankNum(params) {
  return request({
    url: '/mgrService/mgrStatisticalData/queryAppDashBoardRankNum',
    method: 'post',
    data: params
  })
}

// dashBoard首页查询上次浏览记录
export function queryAppDashBoard(params) {
  return request({
    url: '/mgrService/mgrStatisticalData/queryAppDashBoard',
    method: 'post',
    data: params
  })
}

// 概况查询
export function queryAppDashBoardNumByYearAndMonth(yearMonth) {
  return request({
    url: `/mgrService/mgrStatisticalData/queryAppDashBoardNumByYearAndMonth/${yearMonth}`,
    method: 'get'
  })
}
